package com.chang.dp.daos;

import com.chang.dp.entity.MessageEntity;
import com.chang.dp.entity.MessageUserEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface MessageDao {
    public List<MessageUserEntity> getUnReadMessagesByUserId(@RequestParam String userId);
    public int addUnReadMessage(MessageEntity params);
}
